package com.yike.user.service;

import com.yike.user.entity.VoiceSettings;
import com.yike.user.param.VoiceSettingsPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.param.VoiceSettingsParam;
import com.yike.user.vo.VoiceSettingsVo;

import java.util.List;

/**
 * 语音设置 服务类
 *
 * @author Sakura
 * @since 2025-04-02
 */
public interface VoiceSettingsService extends BaseService<VoiceSettings> {

    /**
     * 保存
     *
     * @param voiceSettingsParam
     * @return
     * @throws Exception
     */
    boolean saveVoiceSettings(VoiceSettingsParam voiceSettingsParam) throws Exception;

    /**
     * 修改
     *
     * @param voiceSettingsParam
     * @return
     * @throws Exception
     */
    boolean updateVoiceSettings(VoiceSettingsParam voiceSettingsParam) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteVoiceSettings(Long id) throws Exception;

    boolean batchDel(List<Long> ids) throws Exception;

    VoiceSettingsVo getVoiceSettings(Long id) throws Exception;

    /**
     * 获取分页对象
     *
     * @param voiceSettingsPageParam
     * @return
     * @throws Exception
     */
    Paging<VoiceSettingsVo> getVoiceSettingsPageList(VoiceSettingsPageParam voiceSettingsPageParam) throws Exception;

    boolean sync() throws Exception;

}
